package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("JBDP_PHOTO")
public class JbdpPhoto extends Model<JbdpPhoto> {

    private static final long serialVersionUID=1L;

    @TableField("PATH")
    private String path;

    @TableId("PHOTO_ID")
    private String photoId;

    @TableField("USER_ID")
    private String userId;


    public String getPath() {
        return path;
    }

    public JbdpPhoto setPath(String path) {
        this.path = path;
        return this;
    }

    public String getPhotoId() {
        return photoId;
    }

    public JbdpPhoto setPhotoId(String photoId) {
        this.photoId = photoId;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public JbdpPhoto setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.photoId;
    }

    @Override
    public String toString() {
        return "JbdpPhoto{" +
        "path=" + path +
        ", photoId=" + photoId +
        ", userId=" + userId +
        "}";
    }
}
